<!DOCTYPE html>
<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>入库订单</title>

    <!--引入资源文件-->
    <link rel="stylesheet" th:href="@{/static/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/static/css/bootstrap-theme.min.css}">
    <link rel="stylesheet" th:href="@{/static/css/mycss.css}">

    <script th:src="@{/static/js/jquery.min.js}"></script>
    <script th:src="@{/static/js/bootstrap.min.js}"></script>
    <style>
        html, body {
            width: 100%;
            height: 100%;
        }

        .entryOrder {
            background-color: white;
            width: 65%;
            padding: 2% 2% 2%;
            margin: 10px auto 10px;
            border-radius: 10px;
        }
        .orderContent {
            margin-left: 10%;
        }

        .table > tbody > tr > td {
            border: 0;
        }
    </style>
    <script>
    </script>
</head>
<body style="background-color: #eef0f5">

<div class="entryOrder" th:each="entryoutOrder : ${entryoutOrders}">
    <table class="table" style="margin-bottom: 0;">
        <tbody>
        <tr>
            <td><b>单号</b></td>
            <td><b>拥有人</b></td>
            <td><b>货物名称</b></td>
            <td><b>货物数量</b></td>
            <td><b>入/出库时间</b></td>
            <td></td>
        </tr>

        <tr>
            <td th:text="${entryoutOrder.order_num}"></td>
            <td th:text="${entryoutOrder.holder}"></td>
            <td th:text="${entryoutOrder.cargo_name}"></td>
            <td th:text="${entryoutOrder.cargo_amount}"></td>
            <td th:text="${entryoutOrder.entry_time}"></td>
            <td>
                <a th:href="@{/entryOrderContent(order_num=${entryoutOrder.order_num})}" target="contentpanel">审核</a>
            </td>

        </tr>
        </tbody>
    </table>
</div>

</body>
</html>